// import { getLoginAPI } from '@/api'

export default {
  namespaced: true,
  state: {
    token: ''
  },
  mutations: {
    setToken(state, token) {
      state.token = token
    }
  },
  actions: {
    // async getToken({ commit }, data) {
    //   const res = await getLoginAPI(data)
    //   console.log(res)
    //   commit('setToken', res)
    // }
  }
}
